import Vue from 'vue'
import Vuex from 'vuex'

import createPersistedState from "vuex-persistedstate";
import logger from 'vuex/dist/logger'

import login from './modules/login'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
  },
  getters: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    login,
  },
  plugins: [logger(), createPersistedState(
    {
      storage: window.sessionStorage
    }
  )],
})
